package com.example.spring.multi.basic.dingdang.model;

import lombok.Data;

/**
 * @program: knowledge-pooling
 * @ClassName DeliveryDetailsModel
 * @description: 门店配送详情模型
 * @author: tomato
 * @create: 2024-07-17 20:31
 * @Version 1.0
 **/
@Data
public class DeliveryDetailsModel {

    //反馈时间
    private String feedbackTime;

    //门店收货数量
    private Integer storeReceiveCount;

    //上一状态
    private Integer lastStatus;

    //英克门店ID
    private String yekuoStoreId;

    //英克ID
    private String yekuoId;

    //订单数量
    private Integer orderCount;


    //英克门店ID+英克ID
    private String inkDealId;

    // 计算英克码的方法
    public void calculateInkCode() {
        this.inkDealId = String.format("%s%s", yekuoStoreId, yekuoId);
    }
}
